{% extends "BluehouseappWebBundle:Backend/Admin/layout:layout.html.twig" %}
{% from 'BluehouseappWebBundle:Macros:actions.html.twig' import create %}
{% block title %}
    添加分类
{% endblock %}
{% block body -%}
    <h1>添加分类</h1>

    {{ form_errors(form) }}

    <form action="{{ path('bluehouseapp_category_create')}}" method="post" class="form-horizontal">
        <input type="hidden" name="_method" value="POST">
        {{ form_rest(form) }}
        {{ create(path('bluehouseapp_category_index')) }}
    </form>

{% endblock %}
